<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="d" uri="http://www.trkj.com/tr1702/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<script type="text/javascript"
	src="<c:url value="/js/jquery-easyui-1.5.4.2/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/jquery-easyui-1.5.4.2/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/jquery-easyui-1.5.4.2/locale/easyui-lang-zh_CN.js"/>"></script>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/js/jquery-easyui-1.5.4.2/themes/default/easyui.css"/>" />
<link rel="stylesheet" type="text/css"
	href="<c:url value="/js/jquery-easyui-1.5.4.2/themes/icon.css"/>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
  <style>
  /* 设置边框样式 */
div#ext-gen22 {
    border: none;
}
  element.style {
    width: 1360px;
}
.x-panel {
    border-color: #99bbe8;
}
.x-panel {
    border-style: solid;
    border-width: 0;
}
div {
    display: block;
}
body {
    padding: 0px 0px 0px 0px;
    margin: 0px;
    font-family: 微软雅黑, Tahoma;
    font-size: 12px;
    color: #555;
    background-position: left top;
    background-repeat: no-repeat;
    overflow: auto;
}
.x-panel-bwrap {
    overflow: hidden;
    zoom: 1;
    left: 0;
    top: 0;
}
.x-panel-body {
    border: 1px solid;
    border-top: 0 none;
    overflow: hidden;
    position: relative;
}
table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: grey;
}
.navigCont table {
    table-layout: fixed;
    width: 100%;
    border-bottom: #EED6B7 1px dotted;
    padding: 15px 0px 10px 0px;
}
table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: grey;
}
.navigCont td.head a {
    color: #cc0000;
    text-decoration: underline;
    font-weight: bold;
}
a {
    color: #346DAD;
    text-decoration: none;
    cursor: pointer;
}
.navigCont td.head {
    width: 95px;
    padding-right: 10px;
    vertical-align: top;
    text-align: right;
}
.navigCont td.content a {
    display: -moz-inline-box;
    display: inline-block;
    padding-left: 10px;
}
a:hover {
    color: #FF6666;
    text-decoration: underline;
}
.navigCont td.content em.X1 {
    margin: 0px 0px 5px 5px;
    display: inline-block;
    border-left: 1px solid #ccc;
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}
address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}
  </style>
  <script type="text/javascript">
			$(function(){
			
				 //员工信息
			$('.staff').click(function(){
				var date = $(this).attr("date-href");
				var value=$(this).attr("date-value");
				//添加新的选项卡
				var openTab = function(title, href){
				//先判断是否已经打开
				if($("#tt").tabs("exists", title)){
				//已打开，则激活
				$("#tt").tabs("select", title);
				}else{
				//未打开，则打开
				$("#tt").tabs("add",{
				title: title,
				href: href,
				closable:true
				});
				}
				}
				openTab(value,date);
				
				var tabcount = $('#tt').tabs("tabs").length;
				var msg = '您当前打开了太多的页面，如果继续打开，会造成程序运行缓慢，无法流畅操作！您确定还要继续打开吗？';
				if(tabcount>5){
					$.messager.confirm('确认',msg,function(r){    
					    if (r){    
					    	
					    }else{	
					    	var tab = $("#tt").tabs("getSelected");
							var index = $("#tt").tabs("getTabIndex",tab);
							$("#tt").tabs("close",index);
							
					    } 
					}); 	
				}

				
			});
			}); 
</script>
 </head> 
 <body> 
  <div id="Panel1" class="x-panel x-panel-noborder" style="width: 1360px;">
   <div class="x-panel-bwrap" id="ext-gen21">
    <div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen22" style="overflow: auto; position: relative; ">
     <div id="Panel1_Content" class=""> 
      <div class="navigCont" id="navigCont">
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>员工</a> </td> 
          <td class="content"> 
          <d:g id="2"><a class="staff" date-href="to_staff" date-value="员工信息">员工信息</a></d:g>
			
			<!-- <a>员工事务信息</a>
			<a >员工技能数据</a>
			<a >员工证书数据</a>
			<a class="staff" date-href="to_employeesRecord" date-value="员工履历">员工履历</a>
			<a>员工准备</a>
			<a>员工初始数据</a> -->
	 </td> 
         </tr> 
        </tbody>
       </table> 
      
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>人事变动</a> </td> 
          <td class="content">
			<d:g id="7"><a class="staff" date-href="to_staffemployed" date-value="员工录用">员工录用</a></d:g>
			<d:g id="5"><a class="staff" date-href="to_staffTurnover" date-value="员工职务变动">员工职务变动</a></d:g>
			<d:g id="3"><a class="staff" date-href="to_LaborTurnover" date-value="员工离职">员工离职</a></d:g>
			<d:g id="4"><a class="staff" date-href="to_ygzttable" date-value="用工状态变动">用工状态变动</a></d:g>
			<d:g id="8"><a class="staff" date-href="to_dis" date-value="员工返聘">员工返聘</a></d:g>
		</td> 
         </tr> 
        </tbody>
       </table> 
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>惩奖管理</a> </td> 
        
          <td class="content">
			<d:g id="11"><a class="staff" date-href="to_bonus_administration" date-value="奖惩管理">奖惩管理</a></d:g>
		 <d:g id="12"> <a  class="staff" date-href="to_bonus_penaltype" date-value="奖惩类别">奖惩类别</a></d:g>
		 </td> 
         </tr> 
        </tbody>
        </table>
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>合同管理</a> </td> 
          <td class="content"> 
		<d:g id="9"><a	class="staff" date-href="to_ContractManagement" date-value="合同管理">合同管理</a></d:g>
		<d:g id="10"><a class="staff" date-href="to_contract_category" date-value="合同类别">合同类别</a></d:g>	
		</td> 
         </tr> 
        </tbody>
       </table> 
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>员工辅助数据</a></td> 
          <td class="content"> 
       
		<a class="staff" date-href="to_Education" date-value="定义学历">定义学历</a>
		<a class="staff" date-href="to_definitiondep" date-value="定义部门">定义部门</a>
		<a class="staff" date-href="to_Employment_status" date-value="定义用工状态">定义用工状态</a>
		<a class="staff" date-href="to_social_relations" date-value="定义社会关系">定义社会关系</a>
		<a class="staff" date-href="to_marital_status" date-value="定义婚姻状况">定义婚姻状况</a>
		<a class="staff" date-href="to_Ethnic" date-value="定义民族">定义民族</a>
		<a class="staff" date-href="to_mother_tongue" date-value="定义母语">定义母语</a>
		<a  class="staff" date-href="to_characteristic" date-value="特征项">特征项一</a>
		 </td> 
         </tr> 
        </tbody>
       </table> 
      
      
       <table cellpadding="0" cellspacing="0"> 
        <tbody>
         <tr> 
          <td class="head"> <a>资料</a> </td> 
          <td class="content">
          	<a class="staff" date-href="to_organization" date-value="定义组织">定义组织</a>
			<a class="staff" date-href="to_duty" date-value="定义职务">定义职务</a>
			<a class="staff" date-href="to_professional" date-value="定义职称">定义职称</a>
			<a class="staff" date-href="to_worksheet" date-value="定义工作">定义工作</a>
			<a class="staff" date-href="to_placework" date-value="工作地点">工作地点</a>
			<a class="staff" date-href="to_reasons_for_leaving" date-value="离职原因">离职原因</a>
			<a class="staff" date-href="to_wdm_skill" date-value="定义技能">定义技能</a></td> 
         </tr> 
        </tbody>
       </table>
      </div> 
     </div>
    </div>
   </div>
  </div>   
 </body>
</html>

